//! @author Adam Emil Skoog
//! @date   2012-01-05

#ifndef MEHDI_COLLISION_MASK_H_
	#define MEHDI_COLLISION_MASK_H_
	#include <SFML/Graphics.hpp>

	namespace mehdi
	 {
		class CollisionMask
		 {
			public:
				CollisionMask &setSize(const sf::Vector2f &);
				const sf::Vector2f &getSize() const;
				CollisionMask &setPosition(const sf::Vector2f &);
				const sf::Vector2f &getPosition() const;
				bool collidesWith(CollisionMask *const,const sf::Vector2f &,const sf::Vector2f &) const;

			private:
				CollisionMask();
				CollisionMask(const sf::Vector2f &,const sf::Vector2f &);

				sf::Vector2f size,
				             position;

			friend class Body;
		 };
	 }
#endif
